#ifndef MAINWINDOW_HH_
#define MAINWINDOW_HH_
#include "XmlClient.hh"
#include <QtGui>

class MainWindow: public QMainWindow {
    Q_OBJECT

    protected: XmlClient* client;
    protected: QPlainTextEdit* xmlInput;
    protected: QPlainTextEdit* xmlOutput;
    protected: QString password;

    public:
    MainWindow(XmlClient* client, QString username = "", QString passwprd = "");
    public slots: void setXmlOutput(QString const&);
    public slots: void send_password(QString const&);
    public slots: void send();
};

#endif // ndef MAINWINDOW_HH_
